/**
 * @author Cian
 */

package cian_f_rice.model;

public class Edge {
	
	/**
	 * Which line (by position) is to the left of this edge?
	 */
	
	int left;
	
	/**
	 * Which line (by position) is to the right of this edge?
	 */
	
	int right;
	
	/**
	 * What is the y value of this edge?
	 */
	
	int height;
	
	/**
	 * Construct a new edge.
	 * 
	 * @param left
	 * @param right
	 * @param height
	 */
	public Edge(int left, int right, int height)
	{
		this.left =  left;
		this.right = right;
		this.height = height;
	}
	
	/**
	 * Return the height of this edge.
	 */
	public int getHeight()
	{
		return height;
	}
	
	/**
	 * Return the left value.
	 * @return
	 */
	
	public int getLeft()
	{
		return left;
	}
	
	/**
	 * Return the right value.
	 * @return
	 */
	
	public int getRight()
	{
		return right;
	}
	
}
